<?php
class Controller{
	public $ControllerName;
	public $view;
	public function index() {
		echo "Hello Nightc!";
	}
	public function jump($word,$url) {
		
	}
	public function ajaxReturn($data) {
		header('Content-Type: application/json; charset=utf-8');
		if(is_array($data)) {
			exit(json_encode($data));
		} else {
			exit($data);
		}
	}
}